package org.inspursc.s0517.health.common.vo;

import lombok.Data;

import java.util.List;

/**
 * @author B_Dream
 * @date 2018/5/29 20:00
 */
@Data
public class PageVO {
    private List data;

    private Integer totalPage;

    private Long totalElements;

    private Integer pageNum;

    public PageVO(List data, Integer totalPage, Long totalElements, Integer pageNum) {
        this.data = data;
        this.totalPage = totalPage;
        this.totalElements = totalElements;
        this.pageNum = pageNum;
    }
}
